package com.qiaofang.applet.service.other.service;

import com.qiaofang.applet.common.base.BaseService;
import com.qiaofang.applet.service.other.domain.SignContact;
import com.qiaofang.applet.service.other.service.dto.SignContactListDto;
import com.qiaofang.applet.service.other.service.dto.SignContactQueryDto;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;


/**
 * @Author: youqing.yang
 * @Create: 2020/10/23 15:10
 * @Description:
 **/
public interface SignContactService extends BaseService<SignContact, String> {

    /**
     * 根据手机号查询合同列表
     * @param signContactQueryDto
     * @param pageable
     * @return
     */
    Page<SignContact> listSignContact(SignContactQueryDto signContactQueryDto, Pageable pageable);

    Page<SignContactListDto> convertDomainToEstateListDto(Page<SignContact> signContactPage);

    SignContact findBySignatoriesUuidAndCompanyUuid(String signatoriesUuid, String companyUuid);

}
